<% if logged_in? %>
	<div class="span-18 centered last">
	<% form_remote_for :tagging, :url => { :controller => controller, :action => 'tagging' },
			:update => 'tag_cloud' do |f| -%>
	
		<% field_set_tag 'Tags' do %>
			<%= f.hidden_field :resource_id, :value => resource.id if resource %>
			<%= f.text_field :tags, :class => 'text big_input', :size => '50' %>&nbsp;
			<%= submit_tag 'Tag!', :class => 'buttons', :disable_with => 'Tagging&hellip;' %>&nbsp;
			<%= button_to_function 'Clear', "$('tagging_tags').clear();", :class => 'buttons' %><br />
			<span class="text_info">Insert tags separated by commas.</span>
		<% end %>
	<% end %>
	</div>
<% end %>